package o;

import android.net.Uri;
import androidx.annotation.NonNull;
import java.io.InputStream;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

public class vw<Data> implements vk<Uri, Data> {
    private static final Set<String> ˏ = Collections.unmodifiableSet(new HashSet(Arrays.asList(new String[]{"http", "https"})));
    private final vk<ve, Data> ˋ;

    public static class c implements vr<Uri, InputStream> {
        @NonNull
        public vk<Uri, InputStream> ˏ(vo voVar) {
            return new vw(voVar.ˊ(ve.class, InputStream.class));
        }

        public void ॱ() {
        }
    }

    public /* synthetic */ boolean ˋ(@NonNull Object obj) {
        return ˊ((Uri) obj);
    }

    public /* synthetic */ o.vk.c ˎ(@NonNull Object obj, int i, int i2, @NonNull sc scVar) {
        return ˊ((Uri) obj, i, i2, scVar);
    }

    public vw(vk<ve, Data> vkVar) {
        this.ˋ = vkVar;
    }

    public o.vk.c<Data> ˊ(@NonNull Uri uri, int i, int i2, @NonNull sc scVar) {
        return this.ˋ.ˎ(new ve(uri.toString()), i, i2, scVar);
    }

    public boolean ˊ(@NonNull Uri uri) {
        return ˏ.contains(uri.getScheme());
    }
}
